<div class="row-fluid">
    <div class="span12">
        <?php
        echo Virgo::renderWidget('DGridView', array(
            'data' => $models,
            'head' => array(
                'icon' => 'icos-clipboard1',
                'title' => 'Все статьи для cтраниц городов',
                'buttons' => array(
                    array(
                        'href' => '/content/city/create',
                        'icon' => 'icos-plus1',
                    )
                )
            ),
            'fields' => array(
                'id' => array(
                    'title' => 'ID',
                    'htmlOptions' => array(
                        'style' => 'www',
                    ),
                ),
                'title' => array(),
                //'content' => array(),
                'pub_date' => array(
                    'function' => 'isPubDate()',
                ),
                'is_active' => array(
                    'title' => 'Активность',
                    'function' => 'isActive()',
                ),
            ),
            'buttons' => array(
                array(
                    'href' => 'content/city/update',
                    'icon' => 'icon-pencil',
                ),
                array(
                    'href' => 'content/city/delete',
                    'icon' => 'icon-trash',
                )
            )
        ));
        ?>
    </div>
</div>